﻿<%@ Page Title="Create User Page" Language="C#" MasterPageFile="  ~/Template/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="EAClient.Login" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <style type="text/css">
        .login .title a
        {
        	margin-left:10px;
        }
        
        .login .title
        {
        	color:#494949;
        	width:100%;
        	float:left;
        	height:auto;
        	font-weight:bold;
        	font-size:17px;
        }
        
        .login .content
        {
        	margin-top:10px;
        	width:100%;
        	float:left;
        	height:auto;
        }
        
        .login .content .row
        {
        	width:100%;
        	float:left;
        	height:35px;
        }
        
        .login .content .row .label
        {
        	color:Silver;
        	width:120px;
        	float:left;
        	height:auto;
        	font-size:12px;
        }
        
        .login .content .row .control
        {
        	width:230px;
        	float:left;
        	height:auto;
        }
        
        .submit
        {
        	cursor:pointer;
        	font-size:12px;
        	background:none;
        	border:none;
        	font-weight:bold;
        	color:Orange;
        }
        
        .submit:hover
        {
        	font-size:12px;
        	text-decoration:underline;
        }
        
        .text
        {
        	border:2px solid silver;
        	width:220px;
        }
        
        .password
        {
        	border:2px solid silver;
        	width:180px;
        }
        
        .control_right
        {
        	float:right;
        	text-align:right;
        	margin-right:20px;
        }
        
        .require
        {
        	color:orange;
        }
         .login_page
        {
        	margin:0px auto;
            text-align:center;
        }
        
        ._login_page
        {
        	text-align:left;
        	width:350px;
        	margin:0px auto;
        	height:auto;
        }
        


.login_page .body .error{
    margin-top:5px;
    text-align: left;
    height:auto;
    font-size:10px;
}

.login_page .body .error .message{
    margin-bottom: 5px;
    float:left;
    height:auto;
    width:100%;
    color:#D90B08;
    border:1px solid #FF0000;
}

.login_page .body .error .message div{
    margin-bottom: 4px;
    margin-top:4px;
    margin-left:10px;
    margin-right:30px;
    background: url('/Images/error.png') no-repeat top left;
    padding-left:30px;
}



.login_page .body .error .message_alert{
    margin-bottom: 5px;
    float:left;
    height:auto;
    width:100%;
    color:green;
    border:1px solid #A4B690;
    background-color:#EEFFED;
}

.login_page .body .error .message_alert div{
    margin-bottom: 4px;
    margin-top:4px;
    margin-left:10px;
    margin-right:30px;
    background: url('/Images/active_msg.png') no-repeat top left;
    padding-left:30px;
}
    </style>
        <div class="login_page">
            <div class="_login_page">
           <form id="form1" runat="server" action="/Login.aspx?action=SignIn">
           
            <div class="login">
                <% if (Attributes.ContainsKey("error") || Attributes.ContainsKey("msg"))
                   { %>
                <div class="body" style="height:auto;min-height:0px;background:none;border:0px">
                <div class="error">
                    <%if (Attributes.ContainsKey("error")){ %>
                    <div class="message">
                        <div><%=Attributes["error"]%></div>
                    </div>
                    <%} %>
                    <%if (Attributes.ContainsKey("msg"))
                      { %>
                    <div class="message_alert">
                        <div><%=Attributes["msg"]%></div>
                    </div>
                    <%} %>
                </div>
                    </div>
                <%} %>
                <div class="title"><a>User Login</a></div>
                <div class="content">
                    <div class="row">
                        <div class="label">Email: <a class="require">*</a></div>
                        <div class="control"><input class="text" type="text"  name="email" id="email" /></div>
                    </div>
                    <div class="row">
                        <div class="label">Password: <a class="require">*</a></div>
                        <div class="control"><input class="password" type="password" name="password" id="password" /></div>
                    </div>
                    <div class="row">
                        <div class="control_right">
                            <input class="submit" type="submit" value="Sign in" />
                        </div>
                    </div>
                </div>
            </div>
            </form>
    </div></div>
</asp:Content>